Can you expand a bit on what you mean by "midwifery is illegal"? To me, that sounds as odd as "dentistry is illegal" ...
for a bit of insight into the US legal situation.
It's a protected term - you can't call yourself a midwife withoutthe qualification and registration.
Most midwives are employed by the NHS.
Obviously they're not doctors - they can't prescribe medication or perform surgery.
I have an aunt that's a neo-natal nurse, and I've never heard her refer to fellow nurses as midwives (but I've never directly asked her before).