Do you ever beat your wife?
[/pun]
Now, seriously, I don't think that's possible. From what I can tell, they built the systems to disallow ID sharing of different systems. An alternate solution could be to leave the ID of some games on one DS and the ID of others on the other DS. That way you could play online anytime your wife is playing something, though it might not always be what you want to play.