I think the question is better asked as one open-ended: What pleases God? It is the moment-by-moment life we live that matters most. Jesus summed up the entire law in this statement: Love God and love your neighbor as yourself. He also said that the work of the disciple is to believe in the one who God had sent. The book of James says faith without works is dead. Faith comes by hearing the Word of God. John says that Jesus is the Word. This living Word, Jesus, did not return void but accomplished the purpose for which He was sent (Hebrews). In this, He sent us His Spirit, so that we may be in Him as He is in us (John).
What am I saying in all this? It is about relationship. Prayer is one way of fellowshipping with God--knowing Him. Prayer is conversation. It is entering into His presence and communing with His presence in us. Going to a church service is different than being the Church. Is it better for a spouse to go to a spouse class on how to be a good spouse once a week, while not talking to his/her spouse all week or to talk to and listen to his/her spouse daily? The Church is a living organism, made of up the body of Christ across the globe and that expands across time--past, present, and future.
The eye cannot say to the hand, "I don't need you" as Paul states in his letters, so we need to be part of the Body to belong to the head, Christ. God says if you say that you love God but hate your brother that the truth is not in you.
But the Body is not contained in one denomination or in one building. Its great to find a place of worship to attend, build relationships, encourage each other, learn, worship together, etc. But more important is true relationship--with God--with each other--and with a world that needs to be loved not just in principle but with power.