Question: when are you a non resident for tax purposes?
Answer: You're automatically non-resident if either: you spent fewer than 16 days in the UK (or 46 days if you have not been classed as UK resident for the 3 previous tax years) you work abroad full-time (averaging at least 35 hours a week) and spent fewer than 91 days in the UK, of which no more than 30 were spent working.