Do I file 1040 or 1040NR if i have been living in Canada for 2018 as a Permanent Resident and working for the US employer on H-1B Visa?

I moved to Canada in Oct 2017 as a Permanent Resident of Canada. Since then, I have been living in Canada and working from home (Canada) for my US employer. I hold H-1B Visa. I have not been in the US in 2018. I do not meet Substantial presence test. My employer just filed my I-140 for lawful permanent residency last week. Am I considered a non-resident alien for tax purposes? Do I file 1040NR form?