Finally someone asking a sensible question, rather than, how do I pay 0%, which everyone else seems to want to know.
If you remain in Hungary, you and your company, regardless of where you register it, will be Hungarian tax residents. Therefore, it does not matter where your company is...