While you can have a WiFi network without an internet provider, you will not have a connection to the internet. Your WiFi router needs to be connected to the internet.
An internet connection is provided by your cable company, phone company or other internet service provider. Without a connection through your ISP, all you have is a connection to the other device on your home network.