Seems like that would depend on the option selected
Running XP on the computer it was originally installed on, I suspect is ok, since MS allows me to dual boot between my Win7 upgrade and the previous OS. Moving it to another computer, I would expect to be a violation of the EULA terms for the XP license.