Short trips (a few weeks) are generally acceptable.

Absences longer than 5 months may lead to revocation of residence permits.