Post Vatican II, there are two types of unbelivers. Those that have no faith and those that have a different religious faith.
In No. 16 of the dogmatic constitution “Lumen Gentium,” the Council, recalling the principle of the universal saving will of God, affirmed that those who seek God with sincerity, and make an effort under the influence of grace to do his will with works, known by the dictate of conscience, may obtain eternal salvation.
Thus, the search for the good, and the determination and will to do good works, are the products of grace.
According to the Council, no effort can take place “without grace.” That means that God is also close to those who do not know him. This same teaching is found in the pastoral constitution “Gaudium et Spes,” where in No. 22 the Council acknowledges that grace works in the hearts of all men of good will.