If all you need is to get the files from the drive, you can install it as a seconadry in any computer and get them.
If you want to boot from that drive into the operating system, it has to be the same model with the same hardware or there will likely be issues with booting (often no boot device found or a bluescreen scrash).