WHAT STATE IS THIS? We ask that for a reason. The laws vary.
Typically, unless you have a contract that specifies otherwise, they are free to can you immediately as soon as you suggest that you are going to leave. They don't have to let you lame duck out your two weeks nor pay you for when you are not working.

