Yes, Entry requirements for UK residents are the same as accessing EU countries - all you need is a valid passport,
Travellers to Spain, including the Canary Islands and the Balearic Islands, are advised that the Spanish Government has now introduced new requirements for airlines to provide personnel information on passengers to the Spanish authorities prior to aircraft departure from the UK. This requirement is referred to as Advance Passenger Information (API or APIS data)