OK, so both you and your wife's Macs can dynamically back up to that Time Capsule (TC) NAS drive. I'd just leave that connected at all times and not really think of it is as one to swap to offsite. That will be easy, always available for backups, always available for "back in time" restorations, etc.
Then, I'd allocate at least 1 more DAS (standalone) drive and dynamically connect it to each Mac regularly (maybe weekly?) and manually TM backup each Mac to it. After both backup, get it to a secure offsite position. When it's time to freshen up the offsite, fetch it, do manual backups to it again, then right back to the offsite location again.
If I could swing TWO such drives, I'd allocate one (drive) to your Mac and one to your wife's and then do it the same way. TWO drives would be going back & forth to the offsite location.
OR, I could do the manual backups of both Macs to Drive B, take it with me when I go to where A is stored, leave B and bring A back with me. Then, when it's time to swap them again, TM backup both Macs to A, take it with me to where B is stored, switch A for B there, bring B back with me and thus be ready again.
Between the 2, I'd probably just allocate an individual drive to each Mac and run both to the offsite storage after freshening up the backups. Why favor this option? See below...
NOW, if I really want this to be flawless, I'd do something a little different than just described:
I'd split the disc attached to TC, basically allocating dedicated space to your Mac and your wife's Mac. This might be "partition" or "volume" but the idea is to take total space and actually split it into dedicated space for each Mac.
WHY? Because two Macs sharing the same space will eventually have one of the Macs hog up most of the space. One Mac will end up with lots of "back in time" capability while the other will hardly have any "back in time capability." Splitting the space into 2 separate TM storage spaces allocates a fixed amount of space to each Mac so there is no "competition" for that shared space.
For example, if the TC NAS drive is- say- 16TB and both Macs should have the SAME amount of space, I partition or otherwise split 16TB into two 8TB halves. Then each Mac gets 8TB worth of space for TM on that drive. If your Mac has huge data and your wife's has only a little data, your 8TB portion will soon be near full, while hers would be barely used at all at that point in time.
And for my DAS drives, that's why I probably favor allocating each drive to each Mac vs. also sharing space on them. If I want to share space on them for both Macs, I do the same thing: split the total space into 2 halves so that each Mac has it's own dedicated space for what will be it's offsite backup. For example, drive A might be thought of as A (part) 1 and A 2... or A 0-50% and A 51-100%.
The main idea here is that purely sharing space on NAS or DAS will eventually have one Mac backup dominating the other. One will consume almost all of the space and the other will have hardly any space... thus one will have much more "back in time" capability than the other.