There is a WARN[1] period before the employee is officially laid off, but their access to all the corporate resources are cut off immediately. From the employee perspective, they have lost everything the moment they are being told that they are laid off. It doesn't matter that they are still getting paid.
[1] https://edd.ca.gov/en/jobs_and_training/Layoff_Services_WARN...