18 and pregnant

Is it illegal to be pregnant at 18