It's more complicated than that [0]. The fact that you have the right to claim unemployment benefit does not mean that it will be accepted, that it will be accepted quickly or that the benefit will correspond to what you would have had if you had been laid off.
[0] https://www.service-public.fr/particuliers/vosdroits/F34991/...