The Long-Term EU Residence permit is applicable to non-EU citizens who have been living in Spain for more than 5 years with a valid residence permit and have not spent more than 10 months in total outside the country. Once obtained, you will be able to exchange it for an equal long-term residence in one of the EU countries if you choose to move from Spain.
