Thanks for this very interesting question about our soul. You don’t mention whether you are a Urantia Book reader, but if you are, you know what the soul is and how it is formed throughout our life with the assistance of the indwelling Thought Adjuster. The links here are for you if you want a refresher on these concepts.
In The Urantia Book, we learn that during the life in the flesh the Adjuster creates a counterpart of our minds and personalities (“the real you”) and this counterpart constitutes the soul:
108:6.5 These faithful custodians of the future career unfailingly duplicate every mental creation with a spiritual counterpart; they are thus slowly and surely re-creating you as you really are (only spiritually) for resurrection on the survival worlds. And all of these exquisite spirit re-creations are being preserved in the emerging reality of your evolving and immortal soul, your morontia self. These realities are actually there, notwithstanding that the Adjuster is seldom able to exalt these duplicate creations sufficiently to exhibit them to the light of consciousness.
108:6.6 And as you are the human parent, so is the Adjuster the divine parent of the real you, your higher and advancing self, your better morontial and future spiritual self. And it is this evolving morontial soul that the judges and censors discern when they decree your survival and pass you upward to new worlds and never-ending existence in eternal liaison with your faithful partner—God, the Adjuster.
In another part of the book we learn how our gender survives into the eternal life:
84:6.6 Men and women need each other in their morontial and spiritual as well as in their mortal careers. The differences in viewpoint between male and female persist even beyond the first life and throughout the local and superuniverse ascensions. And even in Havona, the pilgrims who were once men and women will still be aiding each other in the Paradise ascent. Never, even in the Corps of the Finality, will the creature metamorphose so far as to obliterate the personality trends that humans call male and female; always will these two basic variations of humankind continue to intrigue, stimulate, encourage, and assist each other; always will they be mutually dependent on co-operation in the solution of perplexing universe problems and in the overcoming of manifold cosmic difficulties.
Since the soul is the eternal “vehicle” that will survive death, it seems to me that this morontial soul will definitely reflect the gender of its owner, having been created throughout the life in the flesh.
Here’s a question from our FAQ with some similarity to yours. You might find it interesting
Thanks for writing; I hope that my reply has been helpful.