Doesn't matter.
Of course, to get EI in canada, you will be returning to canada, and re-establishing Cdn residency.
But the fact that you were non-resident while working in US is expected, and will not harm your EI application, so long as you return to Canada to collect.