Distilled white vinegar will work just as well as apple cider vinegar in any hair treatments that call for apple cider vinegar.
So yes if you don't have any apple cider vinegar but have white distilled vinegar then the white vinegar will work just as well as the apple cider vinegar.