Can you get unemployment if your first term was honorable?

It depends on the company status if gaining profit or not or if the company tends to shrink its activities or not.