If you purchase an original windows 10 product key then you can use it for a lifetime.
If your product key type is OEM Then it works for a single system only. Because it's registered with a particular hardware ID. But if you have a Retail key then you can use it for a different system to activate.