That doesn’t mean the last company that they happened to work for owes them these things.
If you think people should be entitled to food and shelter, fine. But it should be provided by the state, not by a private business that was unlucky enough to make a bad hiring decision.
(And in fact, the state does provide various forms of welfare including unemployment insurance. I’d be in favor of increasing those.)