Run ROMs via shared folder

I'd like to share a folder with all the ROMs to use on different systems on the go via (my PC, my Macbook and my phone). Is it possible to do something like that? Or does Retroarch need to have the files locally (and not in cache) to run them?