It's not illegal for her to be there. Just like @The goose girl said, as long as you aren't penning her up and she's free to leave anytime she wants.
Canadian geese pair up with a mate when they're around 2-3 years old, and it's for life. If their mate dies, they find a new one. So either...