Working out everyday?

Is it good to workout everyday or are rest days necessary? What's optimal for growth?