Yes
"I felt better 'bout myself when I was feeling bad" Bladee - DG Jeans
When I'm not feeling suicidal I feel guilty, in my head I dont deserve to not feel suicidal, I don't deserve to feel happy.
It is also comforting to be suicidal because that state of mind has one clear goal - death. Life is chaotic and we don't know what's going to happen, suicidal ideation gives us a definitive answer to what will happen to us.
I love the way you describe it. "The safety net". That's honestly really beautiful, what a way to describe it.