This website is not affiliated with unemployment. Usually quitting makes you ineligible. However, if an employer let's you go because you can no longer perform the job you were doing and you are able to perform light duty you often qualify. So it seems you might qualify with your circumstances. Each determination for unemployment us made based on the facts of the specific case. Call the unemployment office before quitting. Has the employer paid into unemployment for you?