Check your Employment Contract or company handbook, as your current company may have a required notice period. If there is no policy, you should always give reasonable notice when leaving a position to provide the company time to find your replacement.
In the United Kingdom, you must provide at least a week’s notice if you have worked for the company for at least one month. However, your seniority may require an extended notice period.