To meet the Third Automatic Overseas Test (2.3) you have to meet each of the following conditions:
(a) you spend fewer than 91 days in the UK in the tax year
(b) the number of days on which you work for more than 3 hours in the UK is less than 31 and
(c) there is no significant break from your overseas work.
It follows that if you spent more than 91 days in the UK in 2021/22, you would not meet the Third Automatic Overseas Test criteria.
Residence, Domicile and Remittance Basis Manual