Some say that when you accepted Christ Jesus is when you you received the Holy Spirit & that once you receive it, it can't never leave you. The verses they use is
2 Corinthians 1
22. Who hath also sealed us, and given the earnest of the Spirit in our hearts.
Ephesians 1
13. In whom ye also trusted, after that ye heard the word of truth, the gospel of your salvation: in whom also after that ye believed, ye were sealed with that holy Spirit of promise,
Ephesians 1
30. And grieve not the holy Spirit of God, whereby ye are sealed unto the day of redemption.
If our body is the temple where the Holy Spirit dwells
& if we defile the temple with sin,
the Holy Spirit
cannot be a partaker of it!