if you quit ro get fired, then you are not eligible. Only hope is that you explain the situation to unemp office (after you lose the job) and they consider your case under "good cause" provision