You may meet the UK's Second Automatic Overseas Test if you were not UK resident in any of the 3 tax years immediately before the relevant tax year and spend fewer than 46 days in the UK during the relevant tax year. This means a maximum of 45 UK days; reaching 46 days means this test is not met. This rule only tracks your days in the UK and does not determine whether you were UK resident in the previous 3 tax years. If this test is not met, you may still be non-UK resident under another part of the Statutory Residence Test. Adjust the Start Date and End Date to match the UK tax year you want to assess.
https://www.gov.uk/hmrc-internal-manuals/residence-and-fig-regime-manual/rfig20130
UK Automatic Overseas Test — 46-Day Rule
Stay under 46 days if non-resident for the previous 3 tax years