have spent no more than 180 days outside the UK in any 12 months in the last 5 years
you’ve lived in the UK for at least 5 years - and spent no more than 450 days abroad during that time, and no more than 90 days abroad in the last 12 months
For immigration purposes, ‘UK’ means Great Britain and Northern Ireland only.