It depends on the category for which you are applying for whether you are eligible for a green visa. Below are the general eligibility criteria.
Non-UAE national Have a clean criminal record Have a valid passport The requirements of the relevant authority must be met