Hi Thomas Lord,
This depends on your residence status.
If you are in the UK for 183 days in a tax year you are classed as tax resident here and would pay taxes here.
To check your residence status for when you leave see RDR3 Statutory Residence Test
Your employer would need to check themselves regarding any corporate tax.