Yes. Store your freshly made knafeh covered in the refrigerator and consume it within 3 days.  If needed, you can also store your leftovers in an airtight container and freeze for 2-3 months.