According to everything we know about exposure to a space enviroment with no environmental suit, your head would not explode, nor would you instantly freeze to death, as is the myth.
That said, Stormtrooper suits do not seal in the occupant against a space environment, and do not have oxygen supplies, I think. Plus, a battle on the surface of an ISD is really hard to reckon into something believable story-wise.
Check out my blog about how wonderful the internet is, called
The Wonderful Internet.
http://thewonderfulinternet.com/