Simple knowledge of God's qualities tells us that of course He knew all there was to know of the Law before tine, natter, the electromagnetic spectrum, and the Earth came into being. But as far as humanity is concerned, God revealed it and codified it progressively, and it was not fully known until the Law of the Spirit--of Life in Christ Jesus--became known and available to all living and hearing the Gospel of Jesus.
Going into Eternity, our attention will be consumed with the continuous fellowship in/of Christ Jesus Who is the Mercy Seat Personi8fied, not on the Law of Sin and Death.
They are literally set in stone and engraved in the hearts and minds of believers.
Is this the way you meant to write the thought? And, making allowances for grammar, this would be an important doctrine. Do you have Scripture for it?
It is an important doctrine. But it's really not my thought. It's the heart of the new covenant promise:
Heb 8:10 "For this is the covenant that I will make with the house of Israel after those days, says the Lord: I will put My Laws into their mind and write them in their hearts, and I will be their God, and they shall be My people.