You can apply under study direct stream if you are legal resident of any 1 country listed below
Antigua and Barbuda
Brazil, China, Colombia, Costa Rica, India, Morocco, Pakistan, Peru, Philippines, Senegal, Saint Vincent and the Grenadines
Trinidad and Tobago
Vietnam. Also, you are living outside of Canada when you apply.