You can't connect two computers to one USB device. Therefore, you'd either need a third computer that would always be left on to act as a file server, or you'd need to buy a USB peripheral switch.
http://www.everythingusb.com/hardware/USB_Switchboxes/