In America, it is customary to give at least two weeks notice of resignation, but it is not legally required. You may also have reasons that you want to give the employer more notice. A natural and polite way to ask would be: “I don’t want my resignation to create an inconvenience for you. I am hoping that 2 weeks’ notice is sufficient for you. Will that be enough?”