Under Qatar labour law you must give your employer a months written notice regarding your resignation and this can be done any time.

After one year worked you are entitled to 3/4 of a months basic salary.

Also if you want to work for someone else in Qatar you will need a no objection letter from your current employer of face a two year ban.

Good Luck

The Tiger