Notice it is a sign , and it is in heaven:
A great and wondrous sign appeared in heaven
Then another sign appeared in heaven
And there was war in heaven
Satan loses and is cast down to earth
Then I heard a loud voice in heaven say:
rejoice, you heavens and you who dwell in them! (Christians are in heaven)
Did you mean to add the idea of a 'rapture' into that Rev.12:12 verse? Can't do that, and here's why...
Rev 12:10-12
10 And I heard a loud voice saying in heaven, Now is come salvation, and strength, and the kingdom of our God, and the power of His Christ: for the accuser of our brethren is cast down, which accused them before our God day and night.
11
And they overcame him by the blood of the Lamb, and by the word of their testimony; and they loved not their lives unto the death.
12 Therefore rejoice, ye heavens, and ye that dwell in them. Woe to the inhabiters of the earth and of the sea! for the devil is come down unto you, having great wrath, because he knoweth that he hath but a short time.
(KJV)
Rev 6:9-11
9 And when he had opened the fifth seal, I saw under the altar the souls of them that were slain for the word of God, and for the testimony which they held:
10 And they cried with a loud voice, saying, How long, O Lord, holy and true, dost thou not judge and avenge our blood on them that dwell on the earth?
11 And white robes were given unto every one of them;
and it was said unto them, that they should rest yet for a little season, until their fellowservants also and their brethren, that should be killed as they were, should be fulfilled.
(KJV)
Rev 2:10-11
10
Fear none of those things which thou shalt suffer: behold, the devil shall cast some of you into prison, that ye may be tried; and ye shall have tribulation ten days: be thou faithful unto death, and I will give thee a crown of life.
11 He that hath an ear, let him hear what the Spirit saith unto the churches; He that overcometh shall not be hurt of the second death.
(KJV)
Rev 20:4
4 And I saw thrones, and they sat upon them, and judgment was given unto them:
and I saw the souls of them that were beheaded for the witness of Jesus, and for the word of God, and which had not worshipped the beast, neither his image, neither had received his mark upon their foreheads, or in their hands; and they lived and reigned with Christ a thousand years.
(KJV)
Rev 15:2
2 And I saw as it were a sea of glass mingled with fire:
and them that had gotten the victory over the beast, and over his image, and over his mark, and over the number of his name, stand on the sea of glass, having the harps of God.
(KJV)
The symbolic "woman" of Rev.12 is God's Israel, and today that means the remnant of believing Israel, AND believing Gentiles. That "woman" represents Christ's Church in the end of days. That's why they follow God's commandments and have the Testimony of Jesus Christ.
Rev 12:13-17
13 And when the dragon saw that he was cast unto the earth, he persecuted the woman which brought forth the man child.
14 And to the woman were given two wings of a great eagle, that she might fly into the wilderness, into her place, where she is nourished for a time, and times, and half a time, from the face of the serpent.
15 And the serpent cast out of his mouth water as a flood after the woman, that he might cause her to be carried away of the flood.
16 And the earth helped the woman, and the earth opened her mouth, and swallowed up the flood which the dragon cast out of his mouth.
17 And the dragon was wroth with the woman, and went to make war with the remnant of her seed, which keep the commandments of God, and have the testimony of Jesus Christ.
(KJV)
All believers on Christ Jesus will be of one of 2 groups, either of the five wise virgins, or of the five foolish virgins (Matt.25).
Which group does one think that "remnant" which keep the commandments of God and have the Testimony of Jesus Christ will belong to? That remnant will be those of the five wise virgins, meaning they will not be deceived, and are prepared to make a stand against the beast in the evil day (Eph.6).
We are fast approaching a time on this earth when it is not good to want to escape our duty for Christ in making a spiritual stand for Him. He's looking for 'can-do' servants, not the weak-minded who shrivel at the thought of being persecuted by His enemies and will cave in. This is why our Lord Jesus revealed that blessed are His servants given to be rulers over His household to give them meat in due season, and when his lord returns and finds him still doing so (Matt.24:44-51).