Yes, you can get unemployment if you quit, depending on the reasons and your state unemployment laws, etc. (I did)
Always wise to do what you can to hang onto your job if possible, however, it would be best to speak to an employment law atty in your area before making any decisions. Most will...