In addition, there is no federal law governing if and when accrued vacation must be paid when an employee leaves his or her job. However some states required payment of unused leave.
If you resign whether you are paid for unused vacation and sick time depends on company policy and the law in your state regarding accrued leave time and whether that company policy sets criteria for paying employees for unused vacation or sick leave.
State law and how the company policy is written would determine your eligibility for pay.
If you're not sure about eligibility check with your state department of labor for information on whatunused leave pay you qualify for.