sad but true, your ID travel entitlement is cancelled upon your resignation. All loans in Qatar must be paid in full before receiving a bank clearance, all traffic violations must be taken care of before receiving resident permit cancellation without which you will not be able to attain an exit clearance.
your end of service entitlement is withheld until your clearances are completed properly (this applies to all airline staff).
If you hold a personal cheque account and credit cards the Bank will instantly (within minutes of notification of your resignation) freeze your assets in your account for 60 days or more in case of any credit card items or personal check issuances. (good luck trying close the account from abroad).
Heaven forbid the MOI (Ministry of the Interior) have anything pending on you such as a unknown accusation of any kind (did you give someone the middle finger while in traffic?) then you WILL be detained in the country.
Having said all that. I do know many people who have left the airline giving the proper required 3 month notice period and did the proper clearance procedures with little or no incident. it's allot of running around for documents and signatures, all being done between the regular flying roster. (you'll fly to the very last day for sure).
Poisoned by Compromise
Krunch