Give your employer your resignation letter 2 weeks before you plan on leaving if that's your company's policy.