In any action in which the plaintiff was not a resident of the Middle District of Pennsylvania
at the time suit was brought, or, having been so afterwards removed from this district, the court
may enter an order for security for costs upon application and notice. If the party or parties fail
to post security as fixed by the court, a judgment of dismissal may be entered upon motion.