you can have a fleet in defence protection but you will pay upkeep for it.
you can build starbase and scouts under damage protection without coming out
you cant build offencive ships and stay in DP
in other words the only way to keep a fleet in defence protection is to go into dp with fleet remains from battle