Employment Law Questions? Ask an Employment Lawyer.
Unless you have an employment contract that specifies under what conditions that you can be terminated, your employer can terminate you for any reason or for no reason at all so long as the reason for your termination is not based on any one of the prohibited grounds of race, gender, age (40 and over), national origin, religion, or the like.
I am sorry that I do not have better news for you.
The employer can terminate you eventhough other co-workers and upper management did not receive the same treatment. The decision to terminate you, but spare others in the similar situation worked in your favor for unemployment. However, that does not mean that the employer could not terminate you.
I stand by my response.