Providing you have EU settled status - you can leave for a period of up to five years and retain your right to live in the U.K.