Probably just needs the OS installed, as the drive was probably wiped.
However this might be an issue here seeing as you can’t install it on the system itself right now. Typically when you install Windows (Which I am assuming is what you are going to do) they install based on the hardware in the system.
So it might work, or you might just get a BSoD once you put it back in. You might need to boot from an external CD-ROM drive in this case. Might be possible to boot from a flash drive, if the BIOS supports it. But you would need to see if it is an option in the settings first.