Going to church and and being around other believers doesn’t make you a Christian but if you are a true Christian, you will have a desire to be around other believers on a regular basis.
“Without the God-given habit of corporate worship and the God-given mandate of corporate accountability, we will not prove faithful over the long haul.” – Kevin DeYoung
This is one of the commandments of scripture. However, lately there have been people who call themselves Christians and have no desire to have regular fellowship with other believers, whether that be in an established church or otherwise. Christian fellowship is one of the signs of a true believer (1 John 1:7)
Taken from Got Questions (I have amended some as I do not believe that fellowship necessarily means ‘going to church’)
The Bible tells us we need have Christian fellowship so we can worship God with other believers and be taught His Word for our spiritual growth (Acts 2:42; Hebrews 10:25). Fellowship is the place where believers can love one another (1 John 4:12), encourage one another (Hebrews 3:13), “spur” one another (Hebrews 10:24), serve one another (Galatians 5:13), instruct one another (Romans 15:14), honor one another (Romans 12:10), and be kind and compassionate to one another (Ephesians 4:32).
When a person trusts Jesus Christ for salvation, he or she is made a member of the body of Christ (1 Corinthians 12:27). For a church body to function properly, all of its “body parts” need to be present (1 Corinthians 12:14-20). Likewise, a believer will never reach full spiritual maturity without the assistance and encouragement of other believers (1 Corinthians 12:21-26). For these reasons, church attendance/participation and/or fellowship should be regular aspects of a believer’s life. Weekly church attendance is in no sense “required” for believers, but someone who belongs to Christ should have a desire to worship God, receive His Word, and fellowship with other believers.