Is it legal to marry a 17-year-old guy when you are 25 and already have a child by him?

In most states, baby or not, the 17 year old would have to have written parental consent.