... and how much does it cost to own a home there??
Spain is notorious for pickpockets, and the occasional scam. Other than that, it's very safe to live in most parts of Spain. Houses in Spain are usually €1500-2000 per square meter.
Every place has its own risk, theres criminals and such everywhere so its not complitly safe, and im sure it depends on where you get the house as well.
Look into Madagascar, Spain.