Quit your job to take a better paying position? Definitely. Quit your job for a great opportunity? Absolutely.
But there are a lot more reasons to quit your job (once you have something else lined up, of course.) And they all fall under one main category: