Will my wife automatically be prevented from inheriting me, if we are separated and I file for divorce? I haven't made a will.

No! Until you actually become divorced, she will remain your legal spouse and be entitled to inherit  if you die  - unless you take the initiative, and make a will to prevent this happening.