The phrase was made popular by "The Honeymooners" a TV series from the 50´s with Jackie Gleason. He would say "how sweet it is!" whenever something good, convenient and unexpected took place. Like let´s say you win the lottery, so you say "How sweet it is!".
Then, later on Marvin Gaye came out with the song How sweet it is (to be loved by you).
It has the same meaning as "Life is sweet".