In CA, this is firing provided the employer doesn't let the employee work their notice period, and causes them a monetary loss.
https://www.edd.ca.gov/UIBDG/Volunta...oEffectiveTime
"When the employer separates a claimant prior to the effective date of a previously announced voluntary leaving, the separation becomes a discharge if the claimant suffers a wage loss."

