When would the rough-in electrical be installed in a wood framed wall?

When would the rough-in electrical be installed in a wood framed wall?