It's usually better to stain the window trim after cutting and after it has been installed in place.
My favorite guide for tips about dealing with window trim is the Black & Decker Complete Guide to Windows & Entryways. You will find lots of clear graphics and just enough text to steer you along. Shop Direct - Black & Decker Complete Guide to Windows & Entryways