Yes, it would work if you meet the requirement.
MUST HAVE - USB port available version 1.1 and above, for the wireless dongle.
For Windows XP must have service pack 3 installed and Logitech's driver. Sometimes it may run without the drivers but it might not be stable.