Not necessarily. On AVR processors it enables the internal pull-up so the signal is high and when switching to output the pin will stay high.
If you first do the pinMode the output will go low at the moment that you issue the pinMode statement.
An external pull-up is the better solution (when using the pin as output) so during the reset of the processor (IO pins in tri-state) you keep the pin at a guaranteed level.
For further questions, please start a new topic.