Hello

If your residence card expired more than 6 months ago, and your plan is to remain in Spain, you will have to file a new residence card application. If your expired card was a PR card, you may have the possibility to recover the residency right, but if it is a temporary one, I can confirm you will need to file a new application.

Regards,