Five-year cutoff for postdocs?
At least in the US, postdocs are hired by individual faculty members without consultation from others, so the guidelines are somewhat fungible, particularly if there's a compelling reason to hire you.

The one exception is for external (and some internal) fellowships—in such cases, the recency rules are pretty much absolute.

In other countries, though, the rules for what is or is not allowed are stricter, and it may not be possible to circumvent them without significant amounts of work on the part of all involved.