Really? I'd heard that as long as your overseas company is genuinely managed overseas (which is the case here) then residency isn't a problem.
After all, even if I choose to bring the funds into the UK - at worst I'll just be paying dividend tax on them but still avoiding corporation tax?