No.
Regardless of whether you are paid on a salaried basis or an hourly basis, unless you are operating under a bona fide contract that says otherwise, if your employer decides to accept your resignation immediately they have no legal obligation to pay out your notice period. Many companies will do so as a courtesy, but that is a gesture of good will and not required under any law.