In my company, people usually are still on pay roll for an extra month after they are laid off. It depends on your employer I think.