I can't speak for California, but in my state, if you are fired and not laid off[1], you don't get unemployment benefits. I've anecdotally heard this is also the case in California. However, I've also heard that many tech companies state they will not dispute unemployment claims when fired (my company certainly says that), so people in these "privileged" companies often do collect unemployment even when fired.
[1] I hope people know the difference.