Well, I think we developed morality because it was evolutionarily adaptive for us to regard certain behaviors as more ethical than others, because this facilitated trust and a peaceful coexistence that promoted mutually beneficial and productive cooperation rather than mindless competition.
If you disregard these instincts, and do not care about the well-being of others, or how you'll be treated by others for breaking these rules without the concept of a God... then I suppose we're all lucky that you believe in one. That doesn't make God real, it just means that if we need to make up stories about a reward in heaven to keep you line... it's better to have you believe the story so you will stay in line, now isn't it?
So you see, religion being true may not be necessary for us to have a moral basis, but it's possible that, for some people, the belief in it might be.
I don't actually believe that there's an inherent morality in the universe... I believe that human beings see things in moral terms, but that the universe itself is completely amoral. Morality is something that we have invented for our own comfort and benefit as a species. The first person to invent it, probably also invented religion as an excuse to make people adhere to it.