Hate to say it, but I think the "space Jesus" aspect of the ending is actually one of few things about the ending that has some basis in what happened before. The whole game is basically showing every species at its weakest, its most narrowly self-interested, most venal, etc. The Krogan hold the war effort hostage to a cure for the genophage, the Asari are revealed to have concealed their knowledge of a Prothean beacon from the other species, etc. Basically, we're getting at the whole idea of grace: Shepard is saving the galaxy even as the denizens of the galaxy are giving reasons why they're not worth saving. It's pretty much the same thing that was done in The Dark Knight Rises, and countless works before. Not the most original development, but I can't say that it's out of the blue either.
It's not out of nowhere, that's for sure.
Certain choice paths provide more basis though. Overall. (There's some scenario differences that work, but I'll be listing overall)
~~~
Synthesis:
-As many characters alive as possible, period
-Genophage Cure with Wrex and Eve
-Rannoch Peace
-Paragon towards most, but maybe Renegade towards those who outright stand in your way (except Reapers)
Biggest point is that Synthesis overall state comes from playing a lot, and having an import with a more specific path to things. Metagaming to win.
~~~
Control:
-Many characters alive as possible, but some deaths allowed
-Genophage Sabotage with Wreav, possibly convincing Mordin/Paddok to walk away (Paragon or Renegade persuade)
-Rannoch Geth
-Paragon overall, though RP room to be Renegade
Biggest point is that Control overall state is for those not willing to leap into Synthesis, or who haven't done quite enough to open up that path (considering Synthesis requires the 2nd most EMS). More paths lead to here as well. Gaming to win
.
~~~
Destroy:
-Some characters alive, but some significant deaths
-Genophage Sabotage with Wrex, or Genophage Cure with Wreav?
-Rannoch Quarians
-Renegade overall
~~~
I'll put Breath Destroy as separate here, as it seems different to me:
-ALL characters alive
-Genophage Cure with Wrex (the clearly more naturally written end to this arc)
-Either Rannoch Peace or Rannoch Quarians (Rannoch Geth may work, but since I'm going with 'all alive'.... I want to keep Tali)
-Any morality state, but likely at least Renegon, Paragade, Renegade.. not really FULL Paragon