How far into the pregnancy are you allowed to abort?

In all states is it allowed in the first trimester and after that is up to the individual states but they can never say no for health reasons. After week 24 it's premature birth.