They wont rot, but the sun will eat them up, just like any other untreated wood.
Get something with a good UV rating.
ETA: If you plan on leaving them in the sun, stain first, then seal.
The sealer will have the UV rating. Use multiple coats of sealer, scuff/sand between coats.
This post was edited on 12/26 at 11:36 am