Hello David

A continued stay must be proved to be able to apply for that type of permit, which means the person has established Spain as her residence country. They can be out of Spain for no more than 120 days within the three years period. Temporary absences for holidays are allowed.

Regards,