Actually Homo sapiens have been here for at least 100 thousand years (I think 130k rings a bell). Spirtuality has been with us since the begining and I think that this is the result (or side effect if you will) to being self aware and aware of mortality.
maybe the foundations of religion, ritual and community would provide this advantage.
This is from my first post. Yes I think spirituality is a natural consequence of being aware of one's self and mortality. Religion is something else entirely. Rituals and common belief that strengthen the unity of a tribe would likely provide an advantage, but spirituality and subsequent religion are not necessary for these things to happen. Just because a tribe might not be religious, does not mean that they would be disconnected, you make that assumption.
However, you are missing the point of my entire argument which is not to make a case for one over the other but to show that it is impossible to arrive at the conclusion that religion was selected via natural selection because if spirituality is necessarily a side effect of being a aware of mortality and self then we would never be able to discern this constant from a selected trait as it has possibly always been a part of our natural history. You try to counter this by saying that not all individuals are religious, but all of our early societies were, and I would argue that all of us from the most vehement atheists (like myself) are spiritual beings, I believe it is impossible not to be and that is my point, just as septic shock and potental auto-immunity were not selected for by natural selection but exsist as consequences of how our immune system evolved to fight local infections. One could incorrectly come to the conclusion that ability to undergo septic shock was selected for by natural selection simply because it is a trait that has not been extiguished by natural selection, when in reality it is only a consequense to an immune sytem that is highly evolved to fight local infection (which provides a much more effective survival advantage. Likewise, evolving a powerful brain that allows an organism to plan, share information, feel empathy and build tools (all of which provide obvious and effective survival advantages) may bring with it the consequence of spirituality which due to the fact that spirituality is not deleterious would not be selected against.
As an aside, I claim to be an atheist because while I see evidence of powerful forces in nature (from entropy to gravity) I see no evidence of morality or consciousness in these powers. You could call these forces "god", but if it (they) are god then it is possible that our "god" is indifferent, or more likely, unaware of its own power and god-ness