Your fellowship is not restored when you confess your sins, for your fellowship never departed. You are the temple of the Holy Spirit, where is He going to go? He will never forsake you. You, in your sin, may have distanced yourself from the Lord, but the Lord didn't step back. It was you, as with Adam and Eve, who hid. You can have confidence towards God, and in knowing of the forgiveness you have in Jesus, you can be completely open with the Lord.