This is a problem since printed books exist.
There are lots of different options: https://en.wikipedia.org/wiki/Widows_and_orphans#Guidelines
The kindle also doesn't support proper kerning. Sorry if I told you that and you can't unsee it now.
But you can install 3rd party reading software on jailbroken kindles like koreader that fixes some of the deficiencies.