Well, it's complicated, but basically one part of the couple may have to "settle" for a lower ranked program just so that the couple is in the same geographical location. However, the reverse (if one is exceptionally qualified, can bring the other one "up") can happen..or so I've heard.
You'd probably be better off asking the Dean or someone who's seen matches over the years to get the real story...