I don't see any reason for the source molecules to come from space. We already know that nucleotides will spontaneously form and polymerize in conditions consistent with the early earth, and a meteorite origin just moves the source of those nucleotides elsewhere but doesn't answer how they formed.
space has been around for a lot longer than earth, its possible that inter planetary generation of nucleic acids may be primarily a matter of chemistry.
Nucleobase synthesis in interstellar ices[2019]
https://www.nature.com/articles/s41467-019-12404-1?error=ser...
Chemistry of Abiotic Nucleotide Synthesis[2020]
https://pubs.acs.org/doi/10.1021/acs.chemrev.9b00546