It depends on the bank's policy. Some banks allow closing accounts online while others require account holders to visit a branch in person.