It's firstly grammatical. Time is a noun, and eternity is not limited by time. Timeless. Eternal things are not subject to time.
If you want to argue that time is some other category of word, such as a verb, then by all means, but unless someone really wants to explore this option I'd rather...