There is a process that you can go through to "wean" them off depending on you to fall asleep. Many of the baby sleep books talk about this method; seen it used on "Supernanny" TV show - it works!: Tell him when you're getting him ready for bed what's coming up.....tell him that he's a big boy now..and he gets to sleep in his own big boy bed. [i would also tell my son that "so-and-so" sleeps in his own big boy bed all by himself. these were older boys he knew and he looked up to (cousins and friends).]
The method is basically sitting by their crib/bed...when you put them to bed...with a blankie, pacifier..whatever you use. Establish a new bedtime routine of putting on soothing classical music (softly) or white noise (fan or cool mist humidifier)...and sit in the dark with your child in bed. He'll cry and want to sit in your lap, but keep laying him back down, patting his back, telling him to go to sleep. "close your eyes and go night-night." as the time goes on...scoot a little bit farther away from his bed. If he gets out, put him back in and start back at his bedside. Keep doing this, until he falls asleep. Slowly scoot closer and closer to the door until finally you are at the door (sitting on the floor), slightly opened but they can still see you.
usually by the 3rd night or maybe sooner, you can start the bedtime process at the door and they'll fall asleep with you there. And then soon enough, there's no need to sit at the door. They feel confident enough to sleep in their own bed.
If he gets up in the middle of the night and tries to get in your bed, immediately walk him back to his own bed and say that "No, no. It's not time to wake up yet. When there's light in the window, then it's time to wake up. Back to [your son's name]'s big boy bed to go night-night.]
He may be crying when you do this....let him cry and hug him and reassure him that it's OK. say "I know you feel sad. Do you feel sad? That's OK...but momma is in the next room. And you're a big boy now and you need to sleep in your own big boy bed."
It's good to validate their feelings and let them know that you know they are upset but it's going to be Ok.
anyway...it's a major transition, but keep it up and don't give up! It's so worth having your bed back...and your freedom to sleep with your husband alone!
And eventually, he'll get better sleep sleeping in his own bed, too!
yes, it sounds tiring, but this situation isn't going to fix itself in 1 minute. If you're lucky, you'll only have to do this for 3 nights or so.