It depends on your employment policy in your organization. You can find those details in your appointment letter. In most organizations, a one-month to two-month notice will be required.