Yes, it means she got married just in time to have kids.
More expressions that mean the same thing:
- just in the nick of time
- under the wire
- with no time to spare
- at the eleventh hour
- by the skin of her teeth
- by a hair's breadth (When I was little, I thought it was by a hare's breath.)