In Canada in general either employer or employee can terminate without having to give reason. Typically it's either a few weeks of notice for termination but the employer can choose to require the employee to depart immediately and instead payout severance for equivalent time instead. There's nuance province to province though.

In the US it's similar but AFAIK it does vary state to state. To my knowledge there isn't any law that requires what you're describing in North America.