Resigning in person is even better if your boss happens to be abusive, manipulative, or otherwise you feel like a face-to-face encounter is going to escalate in the wrong direction.
I've done it, and boy does it feel great to put a jackass in his or her place.