Yes, a digital signature is mandatory to file ITR 5 because it is used generally by firms and large entities.