Our consciousness at the time of death determines our next life. That is one reason why the Vedic scriptures stress the chastity of women: If a woman is very much attached to her husband, at the time of death she will think of him, and in the next life she will be promoted to a man's body. Generally a man's life is better than a woman's because a man usually has better facilities for understanding the spiritual science.
Facility (CC and Other Books)
Appearance