This gives a somewhat easy to understand idea of how God’s Spirit works.
1 Corinthians 2:11
11For what man knoweth the things of a man, save the spirit of man which is in him? even so the things of God knoweth no man, but the Spirit of God.
Therefore God’s Spirit is a part of His body much like how your spirit is a part of your body. The rabbit hole doesn’t stop there though because God Himself is a Spirit:
John 4:24
24God
is a Spirit…
So God is a Spirit, has a Spirit, and in Him we live, move, and have our spiritual beings because He made our spirits born again.
Acts 17:28
28For in him we live, and move, and have our being; as certain also of your own poets have said, For we are also his offspring.
But the Godhead is immaterial.
Acts 17:29
29Forasmuch then as we are the offspring of God, we ought not to think that the Godhead is like unto gold, or silver, or stone, graven by art and man's device.
Now we seem to be back full circle to The Bible seeming to describe God as being an immaterial Spirit within a Spirit. Perhaps this is just a way of saying God is infinite.