In most cases, it is considered professional courtesy to provide a notice period when resigning. The length of the notice period may vary depending on your company's policies or the terms of your employment contract. It is generally recommended to provide at least two weeks' notice.