Two Weeks Notice Question

People that have put in two weeks notice, or had friends that did: do they typically want you to finish out the two weeks? Or did they let you go immediately?