No, you do not need to be a resident of Dubai to buy property in the city. However, if you are not a resident, you may need to obtain a special permit from the Dubai Land Department (DLD) to purchase property. Additionally, to purchase property in Dubai, you will need to have a valid visa or residency permit in the country.