This is a management decision. Some hens never lay well and are culled earlier on. Some begin to slack toward the end of year 2 and are culled.
Some folks here at BYC feed their pets until a natural death. This is pretty much the dividing line between livestock, valued mind you, but livestock and pets. You'll have to make the decision as to that demarcation.