For small layoffs its possible to do it individually. If you're firing hundreds or thousands of people, there isn't enough HR to go around and a lack of IT people to individually cut people's access throughout the day. Laid off in 2012, they just put hundreds of us in an event room and let us all go at once. I'd prefer an email and not have to do the walk of shame back to my desk with a box.