If you are a you are a non-resident of Canada, you are not able to use NETFILE to file your tax return. Instead you can print it out and mail it. This year the CRA is also allowing non-residents to fax their returns.
This CRA webpage has a list of where you can mail or fax your return: https://www.canada.ca/en/revenue-agency/corporate/contact-information/where-mail-your-paper-t1-return.html