It is not illegal.  If your sister has no discernable income to show that she can pay the rent every month then a landlord can ask for a guarantor.  A landlord in a college town may also want a guarantor so that the student does not skip out on them.  Good luck.