It depends. If your company is willing to pay for unused sick leave when you quit, you can choose to get paid. However, if you feel comfortable using up all your sick days before the resignation, then go for it. Just do NOT give any hints that you are going to quit.