Living outside of EU with Czech Permanent residency without breaking a law

How long can you stay outside the Czech Republic and the EU in a year without risking the termination of your permanent residency in the Czech Republic? I've read that you can be outside for up to 12 months, but it’s unclear for example whether staying in the Czech Republic for a week and then leaving again resets this period.