if they are the SAME, EXACT PC. I mean same specs, mobo, cpu, drivers, etc... everything then you MIGHT be able to switch. but if they are different, then no you would have to format the drive once you swapped them out due to driver issues with each computer.
Dell 4K S2817Q / Logitech Z-680 / Func MS3 Mouse / Corsair K70
NZXT Source 530 / i7-3770K / Corsair H100 / ASRock Z77 Extreme4 / SoundBlaster Recon3d
Samsung 850 PRO 512GB SSD/Seagate 1TB/2TB/WD 2TB
4x4GB Corsair Vengeance 2133 / PNY GTX 980 ti/ Seasonic M12II 850W