Have a look here

https://www.gov.uk/tax-right-retire-abroad-return-to-uk