The time to discharge to a safe voltage will be on the order of several 10s of seconds if the internal Resistor is 10 megohms and the Capacitor is less than 1 microfarad. The cap should be dead if you allow your microwave to sit overnight.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.