Only men are to be leaders in the church. This is based on the following two scriptures. 1 Timothy 3:1,2, "This is a faithful saying: If a man desires the position of a bishop (overseer), he desires a good work. A bishop then must be blameless, the husband of one wife…able to teach." 1 Corinthians 11:3 (NET), "But I want you to know that Christ is the head of every man, and the man is the head of a woman, and God is the head of Christ." Beyond recording this arrangement, the scriptures do not explain why God determined that men should be the overseers.
The Apostles were positioned as the highest male leaders. 1 Corinthians 12:28, "And God has appointed these in the church: first apostles, second prophets, third teachers…" Therefore, a basic ranking for the church's organization, while on earth, is – God, Jesus, the twelve Apostle of the Lamb, men, women.
The ranks in heaven position the twelve Apostles right after Jesus as well. Revelation 21:4 (NASB), "And the wall of the city (the New Jerusalem) had twelve foundation stones, and on them were the twelve names of the twelve apostles of the Lamb."
We know there will be different positions of glory within the resurrected church because the Apostle Paul stated, "There are heavenly bodies and earthly bodies, but the splendor of the heavenly bodies is different from that of the earthly ones. There is a splendor of the sun, another of the moon, and another of the stars; in fact, one star differs from another star in splendor. So it is with the resurrection of the dead: Sown in corruption, raised in incorruption; sown in dishonor, raised in glory…sown a natural body, raised a spiritual body. If there is a natural body, there is also a spiritual body," 1 Corinthians 15:40-44 (CSB).
In heaven, God will always be the Supreme Being and Jesus will be next in authority. "When everything is subject to Christ, then the Son himself will also be subject to the one who subjected everything to him, so that God may be all in all," 1 Corinthians 15:28. After that, the order will be the 12 Apostles, then the church class. Within the resurrected church there will also be different positions of glory, but whether someone was a man or a woman when in the flesh will not be significant.