If you go out of Qatar and you come back with in two(2) years, the immigration will ask for NOC from your previous sponsor.

It is better to look for new employer and transfer your sponsorship first before thinking of going back to your homeland.