When I share a file, does the recipient have to log in to Datto Drive?

No, the recipient can download the file without having a Datto Drive account or logging in. For instructions to set up sharing, see the article Sharing Files and Folders.