16 And the LORD God commanded the man, saying, Of every tree of the garden thou mayest freely eat:
17 But of the tree of the knowledge of good and evil, thou shalt not eat of it: for in the day that thou eatest thereof thou shalt surely die.
God did not tell man to not eat of the Tree of Life. He told him not to eat of the tree of knowledge of good and evil. If you don't know the difference between good an evil, you can't be held accountable, in God's eyes.
The Bible is filled with knowledge of the law. Once you KNOW the law, you are held accountable for keeping it.
Until we read the law, we look to society to teach us the difference between good and evil. None of us have grown up without someone who taught us to be who we have become -- good or evil.
God wanted man to remain innocent. When there are no rules to live by, man enjoys life abundantly. But, it was an oxymoron to give man a rule, because inevitably, man was going to break it. There is no line on this earth that man will not cross out of curiosity; and, as we continue reading the Bible, we will learn that there was a reason that this had to happen:
God created man to show all of His creation how much He loved them. He couldn't do that until man had a reason to need it.