Hi,
You will need to review the guidance at RDR3 and take the statutory residence tests at:
RDR3: Statutory Residence Test (SRT) notes
If an individual’s UK residence status cannot be determined by the automatic UK tests or the automatic overseas tests of the SRT, they will need to refer to the sufficient ties tests.
Family tie is one of the UK ties. An individual will have a family tie for a tax year if at any time during the year they have a relevant relationship with another person, who is resident in the UK for the same year.
You can find guidance on a relevant relationship at RDRM13330.
RDRM13330 - Residence: The SRT: Annex C: Relevant relationships
We are unable to determine your tax residence. This is something that you have to do.
Thank you.