Even if you own property in Spain, you are only allowed to remain in the country for a maximum of 90 days in any 180-day period without a visa or residence permit. You are free to do any real estate transactions, including purchasing or leasing, but you must adhere to the 90-day/180-day guidelines.