If your H couldn't transfer his job there.... and you had to transfer your job there to be with him... and you can't have the dog there.... why did you need to move there in the first place? Why couldn't you have moved somewhere else where you could both have jobs and the dog?
I'm confused about something else - are you saying that this person took all the dogs? So one got lost and is malnourished and you suspected "this would happen" and now you're thrilled because Yayayay you get to keep the dog except you're not, your parents are. And there is not mention of the fact that you gave at least 4 dogs to some other horrible pet owners and you aren't even remotely concerned about the other 3 (or more)?
I see the OP DDed but I'm getting the gist. What a terrible person. And I wouldn't have married a dude who went and got a non-dog friendly apartment when he knew full well I owned a dog. That right there tells me he doesn't give a flying fuck about me.
The OP is a total failure at life if she couldn't figure this shit out.
DO NOT get a dog or a cat or a pet of any kind unless you are 100% sure that you will be able to KEEP the pet.
In your case, a foster dog would have been ideal. No commitments -- and if you wound up having to move to an apartment where it is a strict NO PETS rule, the dog doesn't wind up going to a shelter or being displaced.
You'd move, no more fosters allowed.
I know that there are hard luck cases out there where a dog owner never expected to have to find another home for their dog: example: you're a tenant and the house is sold. New owner says NO PETS. Former owner was fine with pets of all kinds.