Only if the yard is fenced in and the dog has no way of getting out. The City of Elgin has a restraint ordinance and your dog shall be restrained at all times (Sec. 4-83 c.o.).
Rabies vaccinations are usually an annual shot but some vets give a three year vaccination. You can only receive a 3 year vaccination after two consecutive 1 year vaccinations.