I have no idea why you are quitting, but basically, you need to give them notice (2 weeks is customary in my world), but other words are not necessary. Obviously, you need to be prepared to work out whatever notice you give them.