I guess it depends on whether or not the doctor has Ok'd her to take it.
"Vicodin and Pregnancy: An Overview
VicodinÂ® (hydrocodone/APAP) is a prescription pain medication. Based on animal studies (and limited human studies), the drug may not be safe for use during pregnancy.
Vicodin and Pregnancy Category C
The U.S. Food and Drug Administration (FDA) uses a category system to classify the possible risks to a fetus when a specific medicine is taken during pregnancy. Pregnancy Category C is given to medicines that have not been adequately studied in pregnant humans but that do appear to cause harm to the fetus in animal studies. Also, medicines that have not been studied in any pregnant women or animals are automatically given a pregnancy Category C rating.
When given to pregnant hamsters, a single dose of hydrocodone (one of the components of Vicodin) increased the risk of birth defects, including cranial defects. Limited human studies also indicate that Vicodin may increase the risk of similar birth defects. Hydrocodone is a narcotic, and using this drug during the end of a pregnancy may cause narcotic withdrawal in the infant after delivery. Such withdrawal symptoms may include:
However, pregnancy Category C medicines, including Vicodin, may be given to a pregnant woman if her healthcare provider believes that the benefits to the woman outweigh any possible risks to the unborn child." (emedtv.com)
According to WebMD, it is safe to take Tylenol during pregnancy.