It may not just be your local library, either. In some states, the larger city libraries get enough State funding that e-book borrowing privileges are available to anyone in the state. You might even be able to apply online, and start borrowing e-books without ever having to go to a branch in that city.
I know that in NY State, access to the NY, Brooklyn, and Queens libraries are available to anyone in the State.
It may not just be your local library, either. In some states, the larger city libraries get enough State funding that e-book borrowing privileges are available to anyone in the state. You might even be able to apply online, and start borrowing e-books without ever having to go to a branch in that city.
I know that in NY State, access to the NY, Brooklyn, and Queens libraries are available to anyone in the State.