No, you don't need a residency visa to purchase property in the UAE. However, owning property of a certain value can make you eligible for a Golden Visa.