I had no idea being a part time spouse was an option.
Medication won't make your husband spend time with you. You need him, not meds.
Like S4, I'm not sure why you've put up with an absent partner for so long either, I mean WHAT exactly are you even getting out of this relationship?
I know quite a few hubbies that work out of town, but the first thing they do when they get home is spend time with their wives and children. Hobbies they try to squeeze in here and there because its not a priority.
Again, medication is not gonna fix your relationship, I strongly suggest you sit down and talk to your husband about all of this and see if you 2 can find a solution. State your needs and expectations and discuss how to meet them and so forth. If you've tried this and failed, well then I suggest you both go see someone, because clearly there's not much of a marriage when 1 person is never present. And no med in the world is able to cure that.