The suit was launched by Nebraska state senator Ernie Chambers, who said he might appeal against the ruling.
He sought a permanent injunction to prevent the "death, destruction and terrorisation" caused by God.
Judge Marlon Polk said in his ruling that a plaintiff must have access to the defendant for a case to proceed.
"Given that this court finds that there can never be service effectuated on the named defendant this action will be dismissed with prejudice," Judge Polk wrote in his ruling.
Mr Chambers cannot refile the suit but may appeal.
Mr Chambers sued God last year. He said God had threatened him and the people of Nebraska and had inflicted "widespread death, destruction and terrorisation of millions upon millions of the Earth's inhabitants".
I guess he's free to carry on with his spree of destruction.