While it is best to have a face-to-face meeting with your employer to resign, it is acceptable to resign via email if you are unable to do so in person, especially in remote work situations. Make sure to follow up with a hard copy of the letter if required.