If you are a Non-EU citizen and are with a relative who has Spanish or EU citizenship, then you are entitled to get a 5-year residency card that allows you to live and work in Spain. After the 5 years are finished you could apply for permanent residency.
Il existe trois visas exceptionnels :
– Arraigo familiar
– Arraigo social
– Arraigo laboral