Did you know that in order for a property to be legal in Spain it must have a certificate of habitability to show that people can maintain a basic standard of living there? Here's everything you need to know about it from what the requirements are to how to apply for it.