Hi,
You will need to review the guidance on statutory residence and tax the statutory residence tests, to determine whether you will be UK tax resident for the full tax year or not.
From there you can review whether split year treatment applies.
This guidance will also help you work out how many days you can spend in the UK and not be classes as tax resident.
The number of days will depend on your personal circumstances.
The days outside the UK on holiday will count towards the number of days in the UK:
RDR3 Statutory Residence Test
Thank you.