5. A foreign national in the economic class must file an application for a selection certificate at a Québec immigration office serving(a) the foreign national’s country of nationality or the country in which the foreign national has the status of permanent resident or asylum;
(b) the country where the foreign national is residing if, on the date of filing the application, the foreign national has been lawfully admitted to that country for a period of at least 1 year for a temporary stay to study or work, has been studying or working as a main activity and is legally residing in that country; or
(c) if the foreign national is stateless, the country of habitual residence, if the foreign national has been lawfully admitted to that country.