Yes, you can still apply for ILR if your grandparent is deceased. You will need to provide the necessary documents, such as birth and death certificates, to establish your ancestral connection.