How long is your period of employment and duration of contract determines ,resignation period.
Generaly 1 month for unlimited contract or limited contract.
Check Qatar Labour law!