I would make it illegal unless they have no ties, you have no right to kill yourself with either a spouse or kids. If you were depressed in the first place don't get either of those two.
If you're suicidal, maybe you shouldn't be solely responsible for children?
And if you kill your self while married, your wife will be fine after wards.