If your XP is retail, then the upgrade means when you change motherboards you will still be legal
If you get the OEM version, then as soon as you change the motherboard for any other reason than it has gone pop, you have broken the licence agreement if you re-install Vista using that key (i.e. it is tied to the motherboard)