If using command line mame, it should be an option at the bottom of the mame.ini. If using powermame32, then it should be in the powermame options. I've seen it in both versions, although I can't remember exactly where. It wasn't too hard to find.
I have a question as well, I've downloaded the female voice from MS. How do I get Powermame32 to use it?