It is possible but not very likely that the employee will be able to collect unemployment benefits in such situation. The employer will vigorously challenge the employee's claim. The issue will be whether the employee became unemployed through no fault of his/her own.
For more information, see http://www.edd.ca.gov/Unemployment/
If you are terminated for gross misconduct, such as theft, you will not be found eligible for UI benefits. Based on the facts you present here, I believe that you would have a difficult time establishing your claim and the employer will definitely contest your right to benefits. Before filing a claim, you should consult with your criminal attorney to ascertain that there would be no prejudicial effect on your criminal charges if you file and are found ineligible.
The response given is not intended to create, nor does it create an ongoing duty to respond to questions. The response does not form an attorney-client relationship, nor is it intended to be anything other than the educated opinion of the author. It should not be relied upon as legal advice. The response given is based upon the limited facts provided by the person asking the question. To the extent additional or different facts exist, the response might possibly change. Attorney is licensed to practice law only in the State of California. Responses are based solely on California law unless stated otherwise.
I am in general agreement with the previous answers. However, there is usually a provision in the unemployment code that consistency of enforcement of a rule is a factor as to whether someone is entitled to unemployment. The fact that you were fired, and the other employee was not, may factor into the decision of the hearing officer regarding the discipline involved. You should consult with an experienced employment attorney in your area to determine whether you should file for benefits.