A charity that provides a home, work opportunities and support to people who have been homeless is to open in Preston.