Two-year-olds can take a lot of reminding before they learn...sometimes, they do end up going to Time Out quite a bit.
Three things you can do to make Time Out less common:
1) When the child is misbehaving, ask, "Do you want to stop that this instant, or do you want to go to Time Out?"
At first, the child will try to keep acting out, but after a few Time-Outs, they'll usually quit misbehaving when they are asked to make this choice--even if Time Out doesn't seem to bother them in other situations. Weird, but it works. :)
2) Present a unified front.
If you and your husband are arguing about discipline, then the child has reason to believe that the rules are in a state of flux. Also, adults arguing is disturbing to a small child, which will cause more misbehaviour. If you must argue, be SURE that the child doesn't know about it, much less see or hear it.
3) Talk to the child.
Don't just say, "Be quiet." Say, "Mommy's head hurts, and she needs you to be very quiet for a little while." Don't just say, "Do what your dad said." Say, "Your dad loves you, and what he's saying can keep you from getting hurt. You need to listen to him." When your son still misbehaves after this sort of explanation and the warning mentioned above ( and if he's two, then sometimes he will :) ), talk to him after he comes out of Time Out. Explain what happened and why he got in trouble...something like, "Daddy said not to put your hand near the stove because he loves you and touching the stove can get you hurt. I explained that to you, but you kept doing it, and I didn't want you to get hurt, either. So I put you in Time Out so that you could think about it. What do you think now?" If the child is belligerent, then back to Time Out they go. Once they are appologetic, then they can come out...but they have to appologize to any injured parties. In the scenario above, I'd ask the child to appologize to their father for not listening and promise never to touch the stove.
Best of luck!