Every state has its own Unemployment Insurance Benefits Law and I am not licensed in your state, However, it seems that under the circumstances you describe, you could make a good argument for constructive termination. In other words that you did not resign voluntarily, but rather were forced to leave your employment because of your employer's innappropriate behavior towards you. If you file a timely claim for unemplyment benefits you should explain this and if your employer responds and wins, you should appeal and request a hearing. However, the best advice is for you to consult with a licensed attorney in your state who is experienced in handling unemployment insurance benfit claims.
This answer does not constitute legal advice nor does it create any attorney client relationship. You should consult with a licensed attorney in your state who is experienced in the area of law involved in your question.