I think you would become tax resident in Cyprus from the day you get your residency card. I assume you will tell hmrc you have left etc via the self service form online on that date or the day you left via plane.
Check with a lawyer there it is nothing people haven't done thousands of times...