UAE residents and citizens must apply for a permit prior to travelling, and will be allowed to travel abroad only if they fall into certain categories and after they have obtained it.
Each application needs supporting documents, in order to issue the permit, as per the ICA website. Every citizen and resident who intends to travel must submit an application through the Federal Identity and Citizenship Authority website well before departure.
As per those guidelines, residents should also apply for an entry permit before coming back to UAE, and obtain approval before booking return tickets.