Hi,
Yes, you can continue to work for your UK employer when you move overseas, but you should submit form P85 to advise HMRC of the situation when you depart.
You are likely to be deemed non-resident in the UK (and therefore not liable to pay UK tax) in any tax year in which you spend more than 183 days overseas.
Under those circumstances, HMRC will consider whether the issue of code NT is appropriate.
Here is guidance:
Employees working abroad.
Thank you.