Interesting read, unfortunately most Atheist's will just put this topic under the rug, but a simple question that evolution does not need consciousness ; but since we have it , it would have originated some where
My understanding ( based on Islam) is soul is some thing which is put in a human body when its 4 month old , so God crated all the soul at beginning and put them in kind of a cold storage and when its time they are put in a baby , So this life is a test of human soul ( since its aware of its creator) ; human is a perfect mix of body and soul , a body which is is lower self always tend to move toward earth while soul demands God for its hunger ; human endeavor should be to balance these two anti forces to create harmony
On death bed the soul is returned back to God and on day of Judgment will be put back in a body to await what it has earned while its stay if life
we also have a concept of pre-disposition which this pure soul bring in a new born ( Fitrah) - which also new research is pointing toward https://medium.com/backyard-theology/are-humans-beings-pre-disposed-to-believe-in-god-54cb6760eda9
below link has more information ( if some one is intrsetd)
https://www.abuaminaelias.com/understanding-the-soul-in-islam/