We bought our car while ago and are non-residents with UK driving licence. Wrote the insurance company letting them know.
Didn’t make any difference regarding the insurance as far as I remember.
On our insurance certificate there was a list of countries covered. Our one had Spain included. I’m guessing it will probably be the same for you