It is possible to have a relationship with God but not fellowship with Him. Once we become a child of God, nothing will change that relationship. However sin in our lives, rejection of who He is, or other things can still affect our closeness with Him, how much we enjoy our relationship.