Both are grammatical. Though they mean more or less the same, I think it can be different in this way: Life with parents- Being with parents is seen as a positive or negative factor in a general sense. Living with parents- The practical differences we find from living alone or with the spouse and children.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.