Are Church Denominations Divisive or Necessary?

There are many different groups and denominations that fall under the umbrella of “Christianity.” Is this a sign of division? Is someone divisive (a work of the flesh) if they go to or identify with a church that has a denominational title? Or must there be factions among us in order that those who are genuine may be recognized (1 Cor. 11:19)?