In the long annels of each religious tradition is a development of tools that provide different avenues to the subconcious. If we are discussing the ritual of the Sacrament of Christ or offering of wealth in Mandala Practice in Buddhism, we can look beyond the dogma. What is common for all these spiritual technologies (ST) is the tendency to evoke a change of perspective within the mind of the ritualist. I classifiy these as technologies becuase they are rich in technical details that if subverted, abriviated, or otherwise tend to dilute the potentcy of the experience.
Neuro science in recent years has begun to reach a degree of finness so as to bring metrics to bare on teh effects of these ST on the brain. As fMRI technology develops further we can start to see hints that these ST are reproducable phenominon, not just a neurological placebo. Subjectivity is slowly being advanced as a means of producing statistically valid conclusions about the efficacy of ST as a means of working with mental states.
ST are largely born of a desire to change the state of mind. Be it a manner of story telling or ritual dance or mental focus (and combinations of such), the goal of practice is to "change our minds". Will this always be so? As we learn more of our neuro-wiring, will society look on churchs as outdated infrastructure? Given the full promise of science, we'll find that the church need not be a place set aside (the Latin definition of "tem-pel"). Utilization of ST will become more and more focused on each moment of life.
Most established religions already include this suggestion in the teachings. Some ST are applicable to the secular world, some are at odds, others lack applicability. The Islamic perspective that the whole world is a masjid, that anywhere  is a suitable place for salaat is a stark contrast to the Christian Church which is centralized. The Salaat is still oriented towards the numen: Mecca. Thence the tempel still exists; it is everywhere.
In the same way, the Internet is making our family and friend networks exist on a global scale. In my lifetime we may find our networks on a orbital scale, even solar. Where will the Muslim point their rug? The scholars of Islam will certainly have an answer soon.
Sacred Architecture was largely a symbol of power throughout history. The motivation of fear of death and the unknown provided the impetus for the masses to have a piece of infrastructure that provided some answer to our impending demise (if largely poetical, metaphorical, etc. of necessity to express and share experiences which are beyond worldly language).
Could the church be rebuilt in the Internet? Could a simulation of our illusions serve the same need? Likely not, for the reason of endurance. A physical construction provides a root of ideas in time as well as space, lending an origin to our orientation. In ST we actualize the vector away from that orientation with a confidence born of linage. As a result, sacred architecture is likely to persist.