Sorry, but that's absurd. It isn't in the realm of possibilities. But if on some planet somewhere far in a distant galaxy, it had happened, then the answer is No, you wouldn't.
But I'm sorry, someone in office may be held MORALLY responsible for a partner's actions IF they related directly to the political post he or she held. For example, Sunak could have said to his wife "Your non-dom status is entirely your business, of course it is. But it puts me in an awkward position as Chancellor. Please, just think about it, ok?"