There is no simple answer to that question. Each religion has a different view and people within the same religion can have different interpretations of those views. Some do not even believe in a God, while others believe that we are all a part of God. If we are a part of God, then God does not exist any more in a temple than in my thoughts. If there is NO God... you get the idea.
Some people need to be told what to believe, how to act, when to pray and how to live. These are often the people who can be manipulated by their religious leaders into doing terrible things in the name of their god. (Little "g") Others teach that their God is a God of love and that we are all a part of His Universe. Those people tend to believe that God is "everywhere", or as some would put it, "everywhere is a part of God".
"I have surely built thee [God] an house to dwell in."1 Kings 8:13
"I [God] ... have chosen this place to myself for a house. That my name may be there for ever and mine eyes and mine heart shall be there perpetually." 2Chorinthians 7:12, 16.
"The Most High dwelleth not in temples made with hand.." Acts 7:48
That depends on what temple is being referred to. The body is the temple of the Holy Spirit. In short, yes God dwells in temples.