It's going to be entirely fact-specific.
Imagine if you killed someone (it could happen). The circumstances would likely be a pretty freakish one-off. Your deranged neighbor comes over and threatens you, he lunges at you. You are one of those guys who carries a basic lockblade knife with him. You are able to pull it, and you stab him, he dies. Maybe a witness saw y'all arguing beforehand, so your self-defense claim isn't enough, and you get charged with murder.
The circumstances are that you have a clean record, no history of violence of violent threats, and whatever the case (murder or self-defense), your violent act here was clearly a product of a particular circumstance, not some wider violent trend. Bottom line, even if you DID murder your neighbor, you're not likely to be a threat of violence to anyone else.
Compare that to someone who is charged with killing a member of a rival gang. The accused has a long record of violent offenses and threats to kill others. The accused has a record of a long-standing beef with the entire rival gang, and was heard at various times threatening members of the rival gang. He is reasonably likely to commit further violence along those lines if he's released.
It's not just the act alleged (you killed someone). It's the circumstances that make you a likely future threat to others or not.