You've stumbled on one of the working world's most hotly debated questions, congratulations!
there's no consensus on how much notice you should give an employer that you're leaving for another position.