It is a sub-optimal for such situation to cut off email, etc within a few hours after the person is informed. There are other alternatives for damage control. There are situations where one finds out oneself to be laid off when the person can not longer log on to the system. There are situations when one know this at least 30 days ahead. This is a good situation to see the real attitude of all the parties involved.