In the years since the Urey-Miller experiment, all of the bases in DNA/RNA have been shown to form in a huge variety of conditions, many of which would have been present before the oceans even fully condensed so its not considered a goldilocks problem anymore. On top of that, it looks more and more likely that some sort of extremophile archae that would have evolved in those extreme conditions are the common ancestors of life instead of a branch that evolved separately.
Panspermia is possible but there's plenty of evidence that life emerged on earth without external help.