What does gracias a la vida mean in spanish?

Literal is thanks to life

But depending to context..

Its great to be alive,

Grateful to be alive,

Life is good