Hi,
If you wipe your spouse’s laptop that is signed in with the same Microsoft account as yours but is set up on a different device, your own computer’s files and apps will not be affected. Only the data on the laptop you are trying to wipe will be removed.