He definitely won't have a problem shifting from a backyard to an apartment. Between an extra few square feet to run around and some human interaction, I don't know of a dog who would prefer the former. He may be blue for a few days because of the shift in environment, but dogs adapt very quickly. If your parents are willing to give him up, then it's more than worth it for the medical attention and overall care he will receive.