Ah. Here there is no requirement.
Unless your contract says otherwise (and most employees don't work under contracts), you aren't required by law to give even the two weeks notice. It's considered good form, but legally you could quit with no notice at all.