In drywall construction when can a door frame be used as a control joint?

In drywall construction when can a door frame be used as a control joint?