The glass is a different part number and so is the whole assembly.
Coupe to Hatch is interchangeable. But the Sedan can NOT fit the coupe or hatch sunroof. If you look at how the sedan sunroof opens you'll see the major difference right away. The sedan opens by sliding into the roof. Coupe and hatch the glass pops up and slides back outside of the roof skin.
Also the glass is not available OEM so you will have to track it down in a junkyard or an aftermarket glass company may make a replacement.
The $200 Civic project