If it says you must be resident in a country to apply then that is what they require before you apply. It's a bit like saying 'It says I need an ATPL but I'll apply anyway because I'll soon have one!'
Countries / states have residency rules and in HK, which you use, it is difficult to get a residency permit; I think you have to live there on a working visa for four years before being eligible to apply for a residency permit. Just living in a country on a visa does NOT mean you are a resident.
HWB