Depends on your employer
If he accepts to give you NOC then its easy but if he refused to do so, then you better think of how to spend two years at your country before coming back to Qatar !

Good luck...