ive read this answer from a post here..

As pert new sponsorship law, below are the terms for anyone who would like to return to Qatar:

"Any resident, who resided here on a work visa and left the country on good terms after ‎quitting the job or had been dismissed, can get back for employment purposes with any other ‎company, after a gap of two years. This right to waive this condition, if needed, lies with the ‎minister-in-charge or an authority deputed by him.‎"