Writers (Pro or amateur) - putting friends/family in fiction story

How to Murder Your Wife

Except

He’s charged, defends himself on grounds of justifiable homicide, and acquitted by an all male jury. Wife shows up, friend tries to tell him he can kill her now and get away with it (double jeopardy fallacy), but realizes he loves her after all.