Once activated in the Retail PC, you can transfer the product key to another computer if you deactivate the old device.
If you want to reuse the same license, you have to link the Microsoft account; after reinstalling or changing to another device, you have to sign in to the same Microsoft account