Depends on the situation, the job, the location, the time the person had worked there, etc.
Most places, with a layoff (a temporary shortage of work, although they often become permanent), there is no obligation to provide any severance beyond a minimum notice period.