No, it is not compulsory to withdraw the entire accumulated corpus in the EPF account. However, no additional interest is paid on the account balance if contributions are not made for three consecutive months.