Finally, he indicates how the Gentiles have become participants of the building. "In which" building not only are the Jews incorporated, but also you Ephesians "are built together," that is, you are incorporated like the others. "Come to him, the living stone, rejected indeed by men, but chosen and honored by God. Be yourselves like living stones built into a spiritual house" (1 Pet 2:4-5). Therefore he adds "into an habitation of God" that God may dwell in you through faith. "That Christ may dwell by faith in your hearts" (Eph 3:17). Yet this cannot happen without charity since "he who remain...s in love remains in God and God in him" (1 Jn 4:16). And charity is bestowed on us through the Holy Spirit: "The love of God is poured forth in our hearts by the Holy Spirit who is given to us" (Rom 5:5). Thus he adds "in the Spirit."
Source: Commentary on Ephesians