Beyond angry with new laws

So my ex husband and I split in jan 2014. I got pregnant with my bf baby in August of 2014. The hospital is trying to tell me my bf can not be on the broth cirtificate unless I locate my husband to sign denial papers. Well first I can't locate him to even get a divorce. And apparently I can't get a divorce until baby is born. The court will not grant me one. What kind of sh*t is this. I have cried all day.