Dubai - Under the UAE law, there are two types of deportation - legal and administrative.
Legal deportation is issued under a court order against a foreigner who is sentenced for a felony by a custodial punishment. According to UAE Criminal Code Article 121, legal deportation is mandatory in crimes such as sexual assault. The court may order that the person who committed the crime must be expelled from the country or that the expulsion be as an alternative penalty to the custodial punishment.
A foreigner against whom a legal deportation order is issued may apply to the public prosecution to cancel the deportation order. He/she may state reasons for his application and submit supporting documents. The application is sent to a special committee to take a decision on lifting the deportation order. In Dubai, you can apply online to cancel deportation via the website of Public Prosecution.
2.) Administrative deportation
This type of deportation is issued by Federal Identity and Citizenship Authority against an expat for the sake of public interest, public security or public morals. Administrative deportation can be removed under an application to General Directorate of Residency and Foreigners' Affairs in the related emirate.
3-month grace period
If a foreigner, who has been ordered deportation, has interests in the country that need to be settled then he shall be granted a grace period after providing a bail. The duration of that grace period, which shall not exceed three months.
How to remove legal deportation?
As per Article 28 of Law No. 6 of 1973 on Entry and Residence of Foreigners, a foreigner who has been deported administratively may not return to the country except with special permission from Ministry of Interior.