NIS2009 change from Vista to XP

Dear, I already bought NIS 2009 and Installed at Windows Vista about 3 months. After that the operating system change to Windows XP Pro. Is the product key of NIS2009 still can be use when operating system change from Windows Vista to Windows XP (all hardware is nothing change)? Is it legal?  Thank you in advance.