We will benefit from the atonement of Jesus Christ according to our obedience. Our obedience depends on the law given. The Lord gave Moses the Ten Commandments — the lesser law. Jesus Christ gave the Sermon on the Mount which is the greater law.
Because of the atonement of Jesus Christ, every honorable person on the earth, no matter where he lives on the earth, no matter his church affiliation or lack of it, will not go to Hell. An honorable person is strictly honest, works hard to provide for his family, helps those around him, is loyal to his spouse and avoids addictions. An honorable person obeys his conscience (the light of Christ given to every person). This gift of light is made possible by the atonement of Jesus Christ who has overcome the world. (John 16:33)
However, it is an entirely different matter if a person desires to be a joint heir with Jesus Christ, to be in his presence and receive of his glory. (Roman 8:17) Such a person must learn all the principles taught by Jesus Christ and live them. That is another way of saying that a person must believe in Jesus Christ and repent. If a person believes and repents, he is can be baptized by water and receive the Holy Ghost. Such a baptism cleanses a person to the degree he has repented, and the Holy Ghost continues to assist in the process of learning the principles of Jesus Christ and living them. This is referred to as the covenant path. If a person remains on the covenant path, he will receive eternal life. Just as there are different levels of wickedness, there are different levels of righteousness.