Since we receive God's Holy Spirit when we are baptized, does this mean that we don't have God's Holy Spirit before we are baptized?
Two scriptures can help clarify this question. In 1 Corinthians 2:10 Paul explains that God reveals things to us via His Spirit and Acts 2:38 says, "Repent, and let every one of you be baptized in the name of Jesus Christ for the remission of sins; and you shall receive the gift of the Holy Spirit."
These scriptures tell us that God reveals things to us (His way of life) prior to baptism via His Spirit but we actually receive it after being baptized. Put another way, God's Spirit works with us prior to baptism and becomes part of us (dwelling within us) after we are baptized.