If you are thinking of voluntarily exchanging your driving licence to a Spanish one you might wish to consider waiting until the end of the year because the Spanish are falling into the EU line by issuing DLs for 10 years and not the current 5 years. (Up to age 65)
If however your licence is about to expire anyway then you will need to renew now as driving without a valid licence is a hanging offence.
By the way the Spanish DL makes a useful form of ID following the demise of the good old Residencia Card.