The world cannot receive the Holy Spirit because it does not see Him or know Him. To know the Holy Spirit you have to accept God’s gift of His Son Jesus Christ. You have to repent or turn away from your sins. You have to present your body as a living sacrifice that is Holy and acceptable to God. You must also obey His commandments which is proof that you love Jesus and you will receive the Comforter(Holy Spirit); this is the only way Jesus will manifest Himself to us or reveal Himself. So, revelation comes through personal relationship with God and only those who love Jesus will do as He says.
If you had known Me, you would have known My Father also; and from now on you know Him and have seen Him. -John 14:7
But the natural man receiveth not the things of the Spirit of God: for they are foolishness unto him: neither can he know them, because they are spiritually discerned. – 1 Corinthians 2:14
1 Corinthians 2:14 tells us that the natural man cannot receive the things of the Spirit of God. This is confirmation from John 14:17 that the world cannot receive the Spirit of Truth, which is the Holy Spirit, because it only survives where truth, honesty, and good is. Anyone who can’t see or receive the truth from God’s word does not have the Holy Spirit living in them. While in some He is a part-time resident because when they confess and turn from sin He comes in, but when you go back to your old sinful ways He is gone, because He can’t live and will not dwell in filth.