Hello,
Firstly it all depends on the type pf visa u were on, while u were in the UAE. Since u did not mentioned when and what kind of Visa u were having of UAE, I will share my situation with you as that may help. For example,(between 2005-2008), I was in the UAE on a Visit visa...