Varies by province in Canada but generally there is a fixed amount of time you need to be at the company before they can just kick you out. For example in Alberta if you've been with an employer longer than 2 years you must give them 2 weeks. They can terminate you immediately after you resign, but they own you 2 weeks of pay.
Likewise, if the company lays you off, they have to give you up to 8-weeks notice depending on how many years you were with the company; 10+ years warrants the full 8-weeks, while 2-4 years in service gets you 2-weeks. These are also mandatory minimums; some companies or employees with contracts or collective agreements may get / offer more.
Plenty of loopholes there, like for "just cause", and some industries are "exempted by custom" or by law, like construction or forestry.
Likewise, if the company lays you off, they have to give you up to 8-weeks notice depending on how many years you were with the company; 10+ years warrants the full 8-weeks, while 2-4 years in service gets you 2-weeks. These are also mandatory minimums; some companies or employees with contracts or collective agreements may get / offer more.
Plenty of loopholes there, like for "just cause", and some industries are "exempted by custom" or by law, like construction or forestry.
* https://www.alberta.ca/termination-pay.aspx