Sure, just make sure to drop it somewhere you will find it when you copy to the rMB. /Users/<username>/Desktop or the like.
The rMB really just looks like an external drive on your iMac when using target disk mode, but you will see the entire Macintosh HD drive from the rMB. You could probably just work and use the file off the rMB all the time, but read/write speeds would not be as good compared to doing it natively on the iMac's hard drive.