If you have the same "version" of XP on a CD, you can do it. However,
"version" means not only XP Home, but also the same OEM (if
applicable). If it is a Dell computer, then virtually any Dell XP
Home CD will work. But, sometimes OEM's will have XP CD's that have
the correct drivers for the computer they shipped with already
slipstreamed into the Windows install package. So, you might have to
work on the drivers once you've installed XP.
A "Retail" or different OEM CD may not work with the code.
Dale