SR71 and others, I know how the system works because some years ago I too thought I was being so very clever by avoiding paying tax in just the circumstances described.
I lived in one country, worked in another, paid in a third, offshore bank and emplyed by a company based in a fourth. After lengthy negotiations with the tax authorities, I am still paying them the tax I owe them.
Far easier to pay as you earn, believe me.
Just face the fact that you cannot avoid death and taxes. No-one is exempt, no-one.