This depends on your nationality. In other words, a UAE resident has to apply for a visa only if he or she is not qualified for any kind of visa exemptions.