Many airlines such as Ryanair and Easyjet are employing a large number of pilots from overseas e.g. Sweden, Denmark, Norway, Germany, Ireland, France, Netherlands, Belgium etc., who remain living in their home country but commute to the UK to take up their flying duties.
If you are in this situation, you are probably paying UK tax in full on your earnings through your employer's payroll under PAYE, despite being not-resident in the UK. The good news is you can claim a refund of the tax deducted in respect of the proportion of your earnings from non-UK duty flying time. This is provided you have not made a permanent move with your family to the UK. However, you should take local advice on your tax position in the country where you live.