Depends on your work contract. Some require advanced notice for higher level positions. Standard rank and file employees in the US is accurately describes as two weeks notice is appropriate where companies will often ask that you either keep it quiet or terminate you on the spot.