There is a three-month grace period to exit the UAE starting from May 18th
The residency visa of expatriates, whether they are inside or outside of the country, will remain valid until the end of the year