Most (probably all) libraries have various residency requirements. Depending on where you live, you might have access to other libraries in your state. In California, where I live, most of the libraries will give a library card to any resident of the state--you do have to visit the library to get your card though.
Also, some libraries may offer non-residents a card for a fee. New York Public Library used to do this, but recently stopped.
You can check out the Wiki here for more information:
https://wiki.mobileread.com/wiki/EBook_Lending_Libraries
Also, check out Overdrive's (supplier of e-books to libraries) search engine for libraries in your area:
search.overdrive.com .
Hope this helps!
dordale