If you have pre-settled status
If you have pre-settled status, you can spend up to 2 years in a row outside the UK without losing your status BUT you will need to maintain your continuous residence if you want to qualify for settled status. See below:
VERY IMPORTANT NOTE FOR PEOPLE WITH PRE-SETTLED STATUS:
Although pre-settled status allows up to 2 years outside the UK without losing your status, if you spend more than 6 months outside the UK during the 5 years you need to get settled status, you will not be able to apply for settled status, nor will you be able to extend your pre-settled status or re-apply for pre-settled status after the deadline, which is currently end of December 2020.
This means that, if you break the continuity of residence during the 5 years your pre-settled status is valid for, you will only be able to stay in the UK until the expiry date of your pre-settled status, after that, you will have to either leave the UK or find another route to stay here, such as applying for a visa under the UK Immigration Rules, which may not be easy, nor an option for everyone.
Continuity of residence chart
The chart below shows various scenarios, using 2020 as an example for someone who arrived in the UK in October 2019. You will see how they may or may not qualify for settled status under different scenarios, depending on whether they maintaned continuity of residence or broke it, as well as illustrating the provision to spend more than six months out of the UK for an important reason, including COVID where applicable.

If you have pre-settled status, you can spend up to 2 years in a row outside the UK without losing your status BUT you will need to maintain your continuous residence if you want to qualify for settled status. See below:VERY IMPORTANT NOTE FOR PEOPLE WITH PRE-SETTLED STATUS:
Although pre-settled status allows up to 2 years outside the UK without losing your status, if you spend more than 6 months outside the UK during the 5 years you need to get settled status, you will not be able to apply for settled status, nor will you be able to extend your pre-settled status or re-apply for pre-settled status after the deadline, which is currently end of December 2020.
This means that, if you break the continuity of residence during the 5 years your pre-settled status is valid for, you will only be able to stay in the UK until the expiry date of your pre-settled status, after that, you will have to either leave the UK or find another route to stay here, such as applying for a visa under the UK Immigration Rules, which may not be easy, nor an option for everyone.Continuity of residence chart
The chart below shows various scenarios, using 2020 as an example for someone who arrived in the UK in October 2019. You will see how they may or may not qualify for settled status under different scenarios, depending on whether they maintaned continuity of residence or broke it, as well as illustrating the provision to spend more than six months out of the UK for an important reason, including COVID where applicable.

