My garden is full of water,because of yesterday 'a rain.

Correct or incorrect

My garden is full of water, because of yesterday's rain.

No comma is needed there since the dependent clause is second in the sentence.

Correct.

The sentence "My garden is full of water because of yesterday's rain" is correct.