The tail lights look the same, but I've never tried one for the other. The only differences between the Prisms and Corollas are cosmetic - so this could go either way.
If you look it up on your favorite auto parts website for both models, perhaps it will give you the same part number? (Haven't tried that either.)